package com.zhuiyun.project.api.plan.fitnessType.service;

import com.zhuiyun.project.api.plan.fitnessPurpose.entity.FitnessPurpose;
import com.zhuiyun.project.api.plan.fitnessType.entity.FitnessType;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import com.zhuiyun.project.utils.pageUtil.PageResult;

/**
* @Author 杨珅
* @Description todo 目的业务层
* @Date 2023/11/2 9:02
* @Return  * @param null
*/
public interface FitnessTypeService {
    /**
     * @Author 杨珅
     * @Description todo 健身类型查询
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    PageResult selectAll(PageRequest pageRequest, String fitnessTypeName,Integer fitnessPurposeId,String venueUniqueIdentifier);
    /**
     * @Author 杨珅
     * @Description todo 健身类型新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult insertFitnessType(FitnessType fitnessType)throws CommonException;
    /**
     * @Author 杨珅
     * @Description todo 健身类型新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult updateFitnessType(FitnessType fitnessType)throws CommonException;
    /**
     * @Author 杨珅
     * @Description todo 健身类型删除
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult deleteFitnessType(FitnessType fitnessType);
}
